home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Washington_1988 / DevCon88.1 / JimmDemos / DemoSource / spr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  902 b   |  28 lines

  1. /* spr.h -- sprite rastport declarations
  2.  * 
  3.  * Copyright (c) 1988, I and I Computing and Commodore-Amiga, Inc.
  4.  *
  5.  * Executables based on this information may be used in software
  6.  * for Commodore Amiga computers.  All other rights reserved.
  7.  *
  8.  * This information is provided "as is"; no warranties are made.
  9.  * All use is at your own risk, and no liability or responsibility is assumed.
  10.  */
  11.  
  12. /* wanted it to have 'spr' as an acronym.
  13.  * the setup is twisted, so why not the name?
  14.  */
  15. struct SpritePortRast {
  16.     struct SimpleSprite    spr_SSprite;
  17.     struct RastPort        spr_RPort;        /* only use leftmost 16 pixels    */
  18.     struct BitMap        spr_BMap;
  19.     UWORD                *spr_Data;        /* chip ram sprite data            */
  20.     int                    spr_Size;        /* safe and easy free            */
  21.     int                    spr_SNum;        /* sprite number                */
  22.     UWORD                spr_Flags;        /* see below                    */
  23. };
  24.  
  25. /* I didn't legally GetSprite, so don't FreeSprite() */
  26. #define SPRF_FORCED    (1)
  27.  
  28.